/*
 * @Author: wwl 2967796480@qq.com
 * @Date: 2023-08-08 08:58:00
 * @LastEditors: wwl 2967796480@qq.com
 * @LastEditTime: 2023-08-25 08:59:26
 * @FilePath: \ConstantBlueCloud_WEB_USER_DZ1\src\api\deviceManagement.ts
 * @Description: 
 * 
 * Copyright (c) 2023 by ${git_name_email}, All Rights Reserved. 
 */
import Request from '@/libs/request'

/**WEB 设备管理页面数据 */
export const uSelectMyDevManagerData = (data: { userId: string; devId: number }) =>
  Request.get<DeviceManagement.DevInfo>('/user/uSelectMyDevManagerData', data)

/**WEB 获取设备最近数据 */
export const uSelectDevParamCheckData = (data: { devId: number }) =>
  Request.get<DeviceManagement.CheckData[]>('/user/uSelectDevParamCheckData', data)

/**web 用户查询设备功能列表 */
export const uSelectDevFunBydDevId = (data: { devId: number }) =>
  Request.get<DeviceManagement.UtilData[]>('/platFormSunUser/selectDevFunBydDevId', data)
